<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>表格、表单作业</title>
  </head>
  <body>
    <h2>用户注册页面</h2>
    <form>
      <table bordercolor="red" cellspacing="10">
        <tbody>
          <tr>
            <td>用户名：</td>
            <td>
              <input type="text" />
            </td>
          </tr>
          <tr>
            <td>密码</td>
            <td><input type="password" /></td>
          </tr>
          <tr>
            <td>确认密码</td>
            <td><input type="password" /></td>
          </tr>
          <tr>
            <td>性别:</td>
            <td>
              <input type="radio" name="gender" />男
              <input type="radio" name="gender" />女
            </td>
          </tr>
          <tr>
            <td>爱好</td>
            <td>
              <input type="checkbox" />听音乐 <input type="checkbox" />看电影
              <input type="checkbox" />玩游戏
            </td>
          </tr>
        </tbody>
      </table>
    </form>
  </body>
</html>
